﻿using EntityFrameworkLayer.Service;

namespace DemoApplication
{
    public sealed class DataCommunicator
    {
        private static MaterialService materialService;

        public static MaterialService GetMaterialService()
        {
            if (null == materialService)
            {
                materialService = new MaterialService();
            }
            return materialService;
        }
    }
}
